<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>喜乐康智能家居系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  	<script type="text/javascript">
  	 $(function(){
			$(".setting_advanced_right").load(evn_Path+"setting!settingAdvancedDevice.do");
  	  	});
		function pressSettingAdvancedTab(type){
			$("[name='setting_advanced_tab_item']").attr("className","setting_advanced_tab_item");
			switch(type){
				case '1':{
					$("#setting_advanced_tab_item1").attr("className","setting_advanced_tab_item_press");
					$(".setting_advanced_right").load(evn_Path+"setting!settingAdvancedDevice.do");
					break;
				}
				case '2':{
					$("#setting_advanced_tab_item2").attr("className","setting_advanced_tab_item_press");
					$(".setting_advanced_right").load(evn_Path+"setting!settingAdvancedScene.do");
					break;
				}
				case '3':{
					$("#setting_advanced_tab_item3").attr("className","setting_advanced_tab_item_press");
					$(".setting_advanced_right").load(evn_Path+"setting!settingAdvancedCount.do");
					break;
				}
				case '4':{
					$("#setting_advanced_tab_item4").attr("className","setting_advanced_tab_item_press");
					$(".setting_advanced_right").load(evn_Path+"setting!settingAdvancedMonitor.do");
					break;
				}
				case '5':{
					$("#setting_advanced_tab_item5").attr("className","setting_advanced_tab_item_press");
					$(".setting_advanced_right").load(evn_Path+"setting!settingAdvancedPhone.do");
					break;
				}
			}
		}
  	</script>
  	
  </head>
  
  <body>
  	<div style="height: 30px;"></div>
  	<div style="width: 740px;height: 429px;margin-left: 50px;">
  		<div class="setting_advanced_tab">
  			<div class="setting_advanced_tab_item_press" id="setting_advanced_tab_item1" name="setting_advanced_tab_item" onclick="pressSettingAdvancedTab('1');">
  				定时面板
  			</div>
  			<div class="setting_advanced_tab_item" id="setting_advanced_tab_item2" name="setting_advanced_tab_item" onclick="pressSettingAdvancedTab('2');">
  				定时场景
  			</div>
  			<div class="setting_advanced_tab_item" id="setting_advanced_tab_item3"  name="setting_advanced_tab_item" onclick="pressSettingAdvancedTab('3');">
  				用电统计
  			</div>
  			<div class="setting_advanced_tab_item" id="setting_advanced_tab_item4" name="setting_advanced_tab_item" onclick="pressSettingAdvancedTab('4');">
  				手机监控
  			</div>
  			<div class="setting_advanced_tab_item" id="setting_advanced_tab_item5" name="setting_advanced_tab_item" onclick="pressSettingAdvancedTab('5');">
  				手机号码
  			</div>
  		</div>
	  	<div class="setting_advanced_right">
	  		
	  	</div>
  	</div>
  </body>
</html>
